﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="QL_BieuMau.aspx.cs" Inherits="Admin_News_QL_BieuMau" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            height: 9px;
        }
        .style2
        {
            width: 332px;
        }
        .style3
        {
            height: 9px;
            width: 332px;
        }
        .style4
        {
            width: 262px;
        }
        .style5
        {
            height: 9px;
            width: 262px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        
       <asp:Panel ID="Panel1" runat="server">
                    
        
        <table style="width:100%;border-width:1px;border-style:double;">
            <tr>
                <td align="right" class="style4">
                    Tên Lĩnh Vực :</td>
                <td class="style2">
                    <asp:TextBox ID="txtTenCoDau" runat="server" Width="244px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"  ControlToValidate="txtTenCoDau" ValidationGroup="log"
                        ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" class="style5">
                </td>
                <td class="style3">
                    <asp:Button ID="btnSave" runat="server" Text="Lưu" onclick="btnSave_Click" ValidationGroup="log"
                        Width="119px" />
                    <asp:Button ID="BtnCancel" runat="server" Text="Hủy" onclick="BtnCancel_Click" 
                        Width="119px" />
                </td>
                <td class="style1">
                </td>
            </tr>
        </table>
        </asp:Panel>
        
    </div>
     <div style="padding-top:20px;border-width:2px;border-color:Silver">
              <asp:DataList ID="DataListYahoo" runat="server" CellPadding="4" 
                  ForeColor="#333333" BorderStyle="Solid" BorderWidth="1px" GridLines="Both">
                  <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                      <ItemTemplate>
                       <div style="float:left;">
                                        <div style="float:left;width:100px;"><%# DataBinder.Eval(Container.DataItem, "CategoryID")%></div>
                        <div style="float:left;width:500px;"><%# DataBinder.Eval(Container.DataItem, "CategoryName")%></div>
                        <div style="float:left;width:100px;"><a href='QL_BieuMau.aspx?delete=<%# DataBinder.Eval(Container.DataItem, "CategoryID")%>'>Xóa</a></div>
                       </div>
                      </ItemTemplate>
                  <AlternatingItemStyle BackColor="White" />
                  <ItemStyle BackColor="#E3EAEB" />
                  <SelectedItemStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                  <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
              </asp:DataList>
          </div>
    </form>
</body>
</html>
